package cn.passlink.www.Server;
import java.util.Map;

//抽象类，用于定义方法
public interface ArticleServer {
//获取文章列表
Map<String, Object> getAll(int page_now, int page_size, String type, String tags, String key_words);
Map<String, Object> getById(String article_id);

Map<String, Object>  getByTypeTags(String type,String tags);

Map<String, Object>  getLog();

Map<String, Object>   pullArticle(String type,String tags,String title,String body,String cover_image,String user_id);

Map<String, Object>  updateArticle(String article_id,String type,String tags,String title,String body,String cover_image,String user_id);
Map<String, Object> delArticle(String article_id, String user_id);


Map<String, Object>   getAllByUserId(String user_id);


Map<String, Object>   getarticleCounts();

}
